﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>带按钮的轮播广告</title>
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
        .box{
            width: 300px;
            margin: 0px auto;
            position: relative;
        }
        #nav{
            position:absolute;
            bottom:10px;
            right:-120px;
        }
        #nav span{
            background:white;
            width:20px;
            height:20px;
            display:block;
            float:left;
            text-align:center;
            margin-right:8px;
        }
    </style>
</head>
<body>
  <div class="box">
      <img src="image/adver-01.jpg"/>
      <div id="nav">
          <span>1</span>
          <span>2</span>
          <span>3</span>
          <span>4</span>
          <span>5</span
      </div>
  </div>
</body>
</html>